<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>sentox-Window</title>
		<link type="text/css" rel="stylesheet" href="../css/themes/sentox/easyui.css" />
		<link type="text/css" rel="stylesheet" href="../css/themes/sentox/font-awesome.min.css">

		<script type="text/javascript" src="../js/jquery-1.9.1.min.js"></script>
		<script type="text/javascript" src="../js/jquery.easyui.min.js"></script>
	</head>

	<body style="margin:10px;">
		<h2>Window Layout</h2>
		<p>Using layout on window.</p>
		<div style="margin:20px 0;">
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="$('#w').window('open')">Open</a>
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="$('#w').window('close')">Close</a>
		</div>
		<div id="w" class="easyui-window" title="Window Layout" data-options="iconCls:'icon-save'" style="width:500px;height:200px;padding:5px;">
			<div class="easyui-layout" data-options="fit:true">
				<div data-options="region:'east',split:true" style="width:100px"></div>
				<div data-options="region:'center'" style="padding:10px;">
					jQuery EasyUI framework help you build your web page easily.
				</div>
				<div data-options="region:'south',border:false" style="text-align:right;padding:5px 0 0;">
					<a class="easyui-linkbutton" data-options="iconCls:'fa fa-check fa-yxa4'" href="javascript:void(0)" onclick="javascript:alert('ok')" style="width:80px">Ok</a>
					<a class="easyui-linkbutton" data-options="iconCls:'fa fa-close fa-yxa4'" href="javascript:void(0)" onclick="javascript:alert('cancel')" style="width:80px">Cancel</a>
				</div>
			</div>
		</div>
		
		<!----------------------------------------------------------------------------------------------------------------------------->
		<h2>Modal Window</h2>
		<p>Click the open button below to open the modal window.</p>
		<div style="margin:20px 0;">
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="parent.$('#w2').window('open')">Open</a>
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="parent.$('#w2').window('close')">Close</a>
		</div>
		<div id="w2" class="easyui-window" title="Modal Window" data-options="modal:true,closed:true,iconCls:'icon-save'" style="width:500px;height:200px;padding:10px;">
			The window content.
		</div>
		
		<!----------------------------------------------------------------------------------------------------------------------------->
		
		
		
		
	</body>

</html>